package com.css.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author Dbj
 * @date 2024年10月15日  17:38
 */
@Data
@TableName("file_file")
@KeySequence("file_file_id_seq")
public class FileEntity {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Date createdAt;

    private Date updatedAt;

    private String name; //文件名称(不带后缀)
    private String file; //文件名
    private String mimeType; //文件类型

    private String previewUrl;
    private String earthquakeId;
    private Integer fileTypeId;
    private Integer convertStatus;
    private String createdUser;
    private String fileSize;
    private String filePath;
    private Integer code;
    private Integer source;
    private String earthQuakeName;
    private String province;
    private String version;
    private int earthquakeType;

}
